package src.Control.Brokers;

import src.Business.BaseDataObject.Employee;

/**
 * @author Capstone Project
 * @version 1.0
 * @category Manager
 * LDAP Manager class will manage all functionality with the LDAP directory.
 * Will handle all connection details to the directory.
 * Implementation is uncertain at this point. needs more prototyping.
 * 
 *
 */
public class LDAPBroker {
	private Object LDAPConnectionFactory;
	private Object connection;
	private String host;
	private int port;
	
	/**
	 * @param host The IP address of the host machine
	 * @param port The port number of the host machine
	 */
	public LDAPBroker(String host, int port) {
		
	}
	/**
	 * @param e an Employee Object that is created for the LDAP Directory
	 * @return the employee Object
	 */
	public Employee updateEntry(Employee e) {
		return e;
	}
	
	/**
	 * @param e an Employee Object that is created for the LDAP Directory
	 * @return the employee Object
	 */
	public Employee hireEntry(Employee e) {
		return e;
	}
	/**
	 * @param e an Employee Object that is created for the LDAP Directory
	 * @return the employee Object
	 */
	public Employee terminateEntry(Employee e) {
		return e;
	}
	
	/**
	 * This method will allow the user to search through employee objects
	 * Still in development
	 */
	public void search() {
		
	}
	
	/**
	 * This method will allow the user to get a specific employee object
	 * Sill in development
	 */
	public void getEmployee() {
		
	}
	
	/**
	 * This method will allow the class to read the schema send by the Peoplesoft Database and create an employee object
	 * Still in development
	 */
	public void readSchema() {
		
	}
}
